<?php


namespace core\mod;


use core\Controller;
use core\service\ModService;

class Console extends Controller {

    public function ping() {
        http_send(0, 'pong!');
    }

    public function getEnabledMods() {
        http_send(0, '', [
            'mods' => (new ModService())->getEnableMod(),
        ]);
    }

}
